#include<stdio.h>
#include<math.h>
#include<time.h>
int main()
{
    int i,j,q;
    float b[100];
    float c[100]; 
    srand((unsigned)time(NULL));

    for(i=0;i<100;i++)
    {
      a: b[i]=rand()%10;
       for(j=0;j<i;j++)
	{
           if(b[i]==b[j])
	   {
               goto a;
	   }
	}
       c[i]=1.0/b[i];
       printf("%d,%f,%f\n",i+1,b[i],c[i]);

    }
return 0;
}

